//
//  PPTabBarController.h
//  PPDL
//
//  Created by 王洋 on 2019/7/23.
//  Copyright © 2019 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, PPTabbarIndexType) {
    PPTabbarIndexTypeHome,
    PPTabbarIndexTypeAuction,
    PPTabbarIndexTypeShop,
    PPTabbarIndexTypeIncome,
    PPTabbarIndexTypeMine,
};

@interface PPTabBarController : UITabBarController

@property (strong, nonatomic) UINavigationController *homeNav;
@property (strong, nonatomic) UINavigationController *auctionNav;
@property (strong, nonatomic) UINavigationController *shopMallNav;
@property (strong, nonatomic) UINavigationController *incomeNav;
@property (strong, nonatomic) UINavigationController *mineNav;

+ (instancetype)shareTabbar;

+ (void)setCurrentIndex:(PPTabbarIndexType)indexType;

@end

NS_ASSUME_NONNULL_END
